import redis

if __name__ == '__main__':
    client = redis.StrictRedis(db=15)
    p1 = client.pipeline()
    p1.set('A', 1)
    p1.set('B', 2)
    p1.set('C', 3)
    p1.set('D', 4)

    p1.execute()
